package com.zf.yichat.api.controller.schedule;

import com.zf.yichat.mapper.MessageMapper;
import com.zf.yichat.service.PacketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 一句话描述功能
 *
 * @author fengsong
 * @date create in 16:51 2019/7/22 2019
 */
//@Component
public class MessageSchedule {

//    @Autowired
//    private MessageMapper messageMapper;

    //每天凌晨清除一天前的message
    //@Scheduled(fixedRate = 1 * 60 * 1000)
    public void packetBack() {

    }
}
